package hr.entity.vo.request;

import lombok.Data;

@Data
public class AddNewDepartmentVo {
    /**
     * 负责人ID
     */
    private Long employeeId;
    private Long parentDepartmentId;
    private String departmentName;
    private Integer departmentState;

    public Integer getDepartmentState() {
        if (departmentState != 0 && departmentState != 1) {
            departmentState = 0;
        }
        return departmentState;
    }
}
